{include file="public/common" /}


<div class="layui-colla-item">
    <h2 class="layui-colla-title">售后详情</h2>

    <div class="layui-colla-content layui-show ">
        <form action="">
            <table class="layui-table">
                <tbody>
                <tr>
                    <td>订单号</td>
                    <td>{$order.order_id}</td>
                    <input type="hidden" name="order_id" value="{$order.order_id}">
                </tr>
                <tr>
                    <td>订单金额</td>
                    <td>{$order.total}</td>
                </tr>
                <tr>
                    <td>原因</td>
                    <td>{$after_sale.memo}</td>
                </tr>
                <tr>
                    <td>反馈</td>
                    <td>
                        <textarea class="layui-textarea" name="result">{$after_sale.result}</textarea>
                    </td>
                </tr>
                <tr>
                    <td>提交</td>
                    <td>
                        <button class="layui-btn" type="submit" name="submit" value="2"> 提交</button>
                        {if condition="$after_sale.status == 0"}
                        <button class="layui-btn" type="submit" name="change_value" value="{$order.total}">   扣除商家 {$order.total} 返回用户 {$order.total}   </button>
                        <button class="layui-btn" type="submit" name="examine_complate" value="2">    处理完成   </button>
                        {/if}
                    </td>
                </tr>
                </tbody>
            </table>
        </form>
    </div>


</div>


<script type="text/javascript">
    layui.use('element', function () {
        var element = layui.element();
    });

</script>
</body>

</html>

